package com.fubon.wloan.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import lombok.Builder;
import lombok.Data;

@Entity
@Data
@Builder
@Table(name = "wloan_invest_resp", schema = "HY_LOAN")
public class InvestResp<T> {

    @Id
    @NotNull
    @Column(name = "REQ_SN")
    private String reqSn;
    @Column(name = "RET_CODE")
    private String retCode;
    @Column(name = "TIME_STAMP")
    private String timestamp;
    @Column(name = "EXPANDING")
    private T expanding;
}